package com.hualan.controller;

import com.hualan.service.impl.CoursereplyService;
import com.hualan.util.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/Coursereply")
public class CoursereplyController {

    @Autowired
    private CoursereplyService coursereplyService;

    @GetMapping("/getLikeRR")
    public R getLikeRR(String userName){
        return R.success(coursereplyService.findLikeRR(userName));
    }
}
